﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System.ComponentModel.DataAnnotations;

namespace SingleUserMall.StoreSettings.Form
{
    /// <summary>
    /// App广告
    /// </summary>
    [AutoMapTo(typeof(AdvertSetting))]
    public class AdvertSettingForm : EntityDto
    {
        /// <summary>
        /// 描述
        /// </summary>
        [Required]
        public string Description { get; set; }


        /// <summary>
        /// 图片
        /// </summary>
        [Required]
        public string Picture { get; set; }

        /// <summary>
        /// 链接
        /// </summary>
        public string Url { get; set; }
    }
}
